﻿using Leafing.Data.Definition;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace YunRuiFarm.Models
{
    public class DatabaseModels
    {
        //public class cater_info : DbObjectModel<cater_info>
        //{
        //    public string Introduce { get; set; }
        //    public Date Time { get; set; }
        //    public int Number { get; set; }
        //    public string Private { get; set; }
        //    public int Reserved { get; set; }
        //    public string State { get; set; }
        //    public DateTime Createtime { get; set; }
        //    public DateTime Updatetime { get; set; }
        //}
        public class cater_order : DbObjectModel<cater_order>
        {
            public string OrderId { get; set; }
            public long PersonID { get; set; }
            public string Name { get; set; }
            public string Contacts { get; set; }
            public string Date { get; set; }
            public int Number { get; set; }
            public bool Private { get; set; }
            public string Result { get; set; }
            public DateTime Createtime { get; set; }
            public DateTime Updatetime { get; set; }
        }
        public class cater_detail : DbObjectModel<cater_detail>
        {
            public string OrderId { get; set; }
            public string Activity { get; set; }
            public string Restaurant { get; set; }
            public string Time { get; set; }
            public string Remarks { get; set; }
            public DateTime Createtime { get; set; }
            public DateTime Updatetime { get; set; }
        }
        public class goat_adopt : DbObjectModel<goat_adopt>
        {
            public long PersonID { get; set; }
            public string OrderId { get; set; }
            public string Name { get; set; }
            public string Contacts { get; set; }
            public string Kind { get; set; }
            public int Number { get; set; }
            public string Result { get; set; }
            public DateTime Createtime { get; set; }
            public DateTime Updatetime { get; set; }
        }
        public class goat_info : DbObjectModel<goat_info>
        {
            public string Kind { get; set; }
            public string Introduce { get; set; }
            public int Total { get; set; }
            public int Number { get; set; }
            public DateTime Createtime { get; set; }
            public DateTime Updatetime { get; set; }
        }
        public class product_info : DbObjectModel<product_info>
        {
            public string Kind { get; set; }
            public double Price { get; set; }
            public string Brief { get; set; }
            public string Introduce { get; set; }
            public string Total { get; set; }
            public int Time { get; set; }
            public string Picture { get; set; }
            public int Sort { get; set; }
            public DateTime Createtime { get; set; }
            public DateTime Updatetime { get; set; }
            public int Style { get; set; }
        }
        public class product_order : DbObjectModel<product_order>
        {
            public string OrderId { get; set; }
            public long PersonID { get; set; }
            public long AgriculturalID { get; set; }
            public string Name { get; set; }
            public string Contacts { get; set; }
            public int Number { get; set; }
            public double Price { get; set; }
            public string Result { get; set; }
            public DateTime Time { get; set; }
            public string Remarks { get; set; }
            public DateTime Createtime { get; set; }
            public DateTime Updatetime { get; set; }
            public int Style { get; set; }
        }
        public class user_adoptinfo : DbObjectModel<user_adoptinfo>
        {
            public string OrderId { get; set; }
            public string GoatId { get; set; }
            public DateTime Time { get; set; }
            public string Report { get; set; }
            public DateTime Createtime { get; set; }
            public DateTime Updatetime { get; set; }
        }
        public class user_feedback : DbObjectModel<user_feedback>
        {
            public long PersonId { get; set; }
            public string Message { get; set; }
            public string Answer { get; set; }
            public string Result { get; set; }
            public DateTime Createtime { get; set; }
            public DateTime Updatetime { get; set; }
        }
        public class user_info : DbObjectModel<user_info>
        {
            public string Name { get; set; }
            public int Sex { get; set; }
            public string Contacts { get; set; }
            public int Power { get; set; }
            public string Username { get; set; }
            public string Password { get; set; }
            public DateTime Createtime { get; set; }
            public DateTime Updatetime { get; set; }
        }
        
        public class user_token : DbObjectModel<user_token>
        {
            public long PersonId { get; set; }
            public string Token { get; set; }
            public DateTime Createtime { get; set; }
            public DateTime Expirytime { get; set; }
        }
        public class web_info : DbObjectModel<web_info>
        {
            public string Place { get; set; }
            public string Detail { get; set; }
            public string PicUrl { get; set; }
            public DateTime Createtime { get; set; }
            public DateTime Updatetime { get; set; }
        }
        public class web_dictionaries : DbObjectModel<web_dictionaries>
        {
            public int Kind { get; set; }
            public string Place { get; set; }
            public DateTime Createtime { get; set; }
            public DateTime Updatetime { get; set; }
        }
    }
}